/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sk.itat.wicket;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author opteron1441
 */
public class RoomRegistration implements Serializable {

    private String hotel;
    private int velkostIzby;
    private int dlzkaRezervacie;
    private int iD;
    private String datum;

    public RoomRegistration() {
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final RoomRegistration other = (RoomRegistration) obj;
        if ((this.hotel == null) ? (other.hotel != null) : !this.hotel.equals(other.hotel)) {
            return false;
        }
        if (this.velkostIzby != other.velkostIzby) {
            return false;
        }
        if (this.dlzkaRezervacie != other.dlzkaRezervacie) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        return hash;
    }

    

    public int getDlzkaRezervacie() {
        return dlzkaRezervacie;
    }

    public String getDatum() {
        return datum;
    }

    public void setDatum(String datum) {
        this.datum = datum;
    }


    public void setDlzkaRezervacie(int dlzkaRezervacie) {
        this.dlzkaRezervacie = dlzkaRezervacie;
    }

    public String getHotel() {
        return hotel;
    }

    public void setHotel(String hotel) {
        this.hotel = hotel;
    }

    public int getiD() {
        return iD;
    }

    public void setiD(int iD) {
        this.iD = iD;
    }

    public int getVelkostIzby() {
        return velkostIzby;
    }

    public void setVelkostIzby(int velkostIzby) {
        this.velkostIzby = velkostIzby;
    }

    @Override
    public String toString() {
        return "RoomRegistration " + "hotel= " + hotel + "velkostIzby= " + velkostIzby + "dlzkaRezervacie= " + dlzkaRezervacie + "iD= " + iD + "platbaKartou= ";

    }
}
